package com.wzz.mapper;

import com.wzz.pojo.Person;
import com.wzz.service.PersonService;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PersonMapper {

    List<Person> getAllPerson();

    int addPerson(@Param("person") Person person);

    int delPerson(int id);
}
